package com.jilijili.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 点赞短视频关联表
 *
 * @TableName my_liked_vlog
 */
@TableName(value = "my_liked_vlog")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Builder()
public class MyLikedVlog implements Serializable {
    /**
     *
     */
    @TableId(value = "id")
    private String id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 喜欢的短视频id
     */
    @TableField(value = "vlog_id")
    private String vlogId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}